package com.aliyun.messagemgt.repository.mappers;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface UrlControl {

    @Select("select * from url_control where ROLE_LIST like concat('%',#{role},'%') order by RESOURCE_CODE  ")
    List<Map<String,String>> queryUrl(@Param("role") String role);
}
